﻿using System;

namespace NDK.Motion.Monitor
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
    public class MonitorAttribute : Attribute
    {
        public string DisplayName
        {
            get; set;
        } = "";
        public string Description
        {
            get; set;
        } = "None";
        public MonitorAttribute(string displayName, string desc)
        {
            DisplayName = displayName;
            Description = desc;
        }
        public MonitorAttribute()
        {

        }
    }
}
